import request from '@/utils/request'

// 温泉室列表
export function listHotRoom(query) {
  return request({
    url: '/system/hot-spring-room/list',
    method: 'get',
    params: query
  })
}

// 删除温泉室
export function delHotRoom(data) {
  return request({
    url: '/system/hot-spring-room/delete',
    method: 'post',
	data:data
  })
}

// 新增温泉室
export function insertHotRoom(data) {
  return request({
    url: '/system/hot-spring-room/insert',
    method: 'post',
	data:data
  }) 
}

// 编辑温泉室
export function editHotRoom(data) {
  return request({
    url: '/system/hot-spring-room/edit',
    method: 'post',
	data:data
  }) 
}

// 所有温泉室
export function allListHotRoom() {
  return request({
    url: '/system/hot-spring-room/allList',
    method: 'get'
  }) 
}

// 温泉室详情
export function detailHotRoom(data) {
  return request({
    url: '/system/hot-spring-room/detail',
    method: 'post',
	data:data
  }) 
}